<template>
  <div id='GoodsList' v-if="Object.keys(goods).length !== 0">
    <good-list-item v-for="item in goods" :gooditem="item">

    </good-list-item>
  </div>
</template>

<script>
  import GoodListItem from './GoodListItem.vue'
  export default {
    name: 'GoodsList',
    data() {
      return {}
    },
    props: {
      goods: {
        type: Array,
        default() {
        }
      }
    },
    components: {
      GoodListItem
    },
    methods: {},
  }
</script>

<style scoped>
  #GoodsList {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around
  }
</style>